<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>通用后台管理系统</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
  <link rel="stylesheet" href="__ADMINTMPL__/Res/css/x-admin.css" media="all">
</head>

<body>
<div class="layui-layout layui-layout-admin">
  <include file="Layout/head"/>
  <include file="Layout/left"/>
  <div class="layui-tab layui-tab-card site-demo-title x-main" lay-filter="x-tab" lay-allowclose="true" style="left: 200px;border-left: solid 2px #2299ee;">
    <ul class="layui-tab-title">
      <li class="layui-this" lay-id="11"> 我的桌面
        <i class="layui-icon layui-unselect layui-tab-close">ဆ</i>
      </li>
    </ul>
    <div class="layui-tab-content site-demo site-demo-body">
      <div class="layui-tab-item layui-show">
        <iframe frameborder="0" src="{:U('Welcome/index/',array('id'=>$vo.id))}" class="x-iframe"></iframe>
      </div>
    </div>
  </div>
  <div class="site-mobile-shade"></div>
</div>
<script src="__ADMINTMPL__/Res/lib/layui2.2.5/layui.js" charset="utf-8"></script>
<script src="__ADMINTMPL__/Res/js/x-admin.js"></script>
<script>
  layui.config({
    base: '__ADMINTMPL__/Res/lib/layui2.2.5/' //插件路径
  }).extend({
    enhanceform: 'enhanceform'
  });


  /*var ws = new WebSocket('ws://127.0.0.1:1234');
  ws.onopen = function () {
      var uid ="<?php echo session('user.id')?>";
      console.log("Connection open."+uid);
      ws.send(uid);
  };
  ws.onmessage = function (e) {
      console.log(JSON.parse(e.data).msg);
  };

  ws.onclose = function (evt) {
      console.log("Connection closed.");
  };*/
</script>
</body>

</html>